//
//  KCStation.h
//  Jade
//
//  Created by king on 16/6/24.
//  Copyright © 2016年 KC. All rights reserved.
//


#import "KCCargo.h"

@protocol KCStationDelegate <NSObject>

@required
- (instancetype)dispatch:(KCCargo *)cargo;

@end

@interface KCStation : NSObject

+ (KCStation *)RegisterStation:(int)stationID delegate:(id<KCStationDelegate>)delegate;
+ (void)RevokeStation:(KCStation *)station;

- (void)sendCargo:(int)destinationID;
- (void)sendCargo:(int)destinationID cargoObj:(id)cargoObj;
- (void)sendCargo:(int)destinationID cargoID:(int)cargoID cargoObj:(id)cargoObj;


@end
